﻿using Application;
using Application.Core.IoC;
using Infrastructure.Implementations.Repository.EntityFramework.MySql;
using Infrastructure.Implementations.Repository.EntityFramework.Sqlite;
using System.Data.Entity;

namespace Infrastructure.Implementations.Repository
{
    public class RepositoryRegistry : IIoCRegistry
    {
        public void Register()
        {
            AppEngine.Container.Add<DbContext, SqliteDbContext>(Lifecycle.UniquePerRequest);
        }
    }
}